package com.felix.load;

/**
 * Parent
 *
 * @author xjh
 * @version 1.0
 * @date 2019-02-25
 */
public class Parent {

    public static String FAMILY_NAME = "xue";
    public String name = "xue";

    public void method() {
    }

    public static void staticMethod() {
    }

    public class P1 {

    }

}

class Child extends Parent {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer(10);
        sb.append("1234");
        System.out.println(sb.capacity() + "" + sb.length());
    }
}